/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * This class is used by
 * {@link com.crossriver.crgis.database.service.http.Property_InformationServiceSoap}.
 * </p>
 *
 * @author    Wole Adetiba
 * @see       com.crossriver.crgis.database.service.http.Property_InformationServiceSoap
 * @generated
 */
public class Property_InformationSoap implements Serializable {
	public static Property_InformationSoap toSoapModel(
		Property_Information model) {
		Property_InformationSoap soapModel = new Property_InformationSoap();

		soapModel.setApplicationId(model.getApplicationId());
		soapModel.setUserId(model.getUserId());
		soapModel.setPropertyType(model.getPropertyType());
		soapModel.setBlockNo(model.getBlockNo());
		soapModel.setPlotNo(model.getPlotNo());
		soapModel.setArea(model.getArea());
		soapModel.setUom(model.getUom());
		soapModel.setLandLocation(model.getLandLocation());
		soapModel.setCity(model.getCity());
		soapModel.setState(model.getState());
		soapModel.setCountry(model.getCountry());
		soapModel.setOrigCofODate(model.getOrigCofODate());
		soapModel.setOtherUsefulInformation(model.getOtherUsefulInformation());
		soapModel.setAllocationMadToYou(model.getAllocationMadToYou());
		soapModel.setAssignedToYou(model.getAssignedToYou());
		soapModel.setLocationType(model.getLocationType());
		soapModel.setLga(model.getLga());
		soapModel.setTown(model.getTown());
		soapModel.setVillage(model.getVillage());
		soapModel.setTerm(model.getTerm());
		soapModel.setEstDevCost(model.getEstDevCost());
		soapModel.setEstStartDate(model.getEstStartDate());

		return soapModel;
	}

	public static Property_InformationSoap[] toSoapModels(
		Property_Information[] models) {
		Property_InformationSoap[] soapModels = new Property_InformationSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static Property_InformationSoap[][] toSoapModels(
		Property_Information[][] models) {
		Property_InformationSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new Property_InformationSoap[models.length][models[0].length];
		}
		else {
			soapModels = new Property_InformationSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static Property_InformationSoap[] toSoapModels(
		List<Property_Information> models) {
		List<Property_InformationSoap> soapModels = new ArrayList<Property_InformationSoap>(models.size());

		for (Property_Information model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new Property_InformationSoap[soapModels.size()]);
	}

	public Property_InformationSoap() {
	}

	public String getPrimaryKey() {
		return _applicationId;
	}

	public void setPrimaryKey(String pk) {
		setApplicationId(pk);
	}

	public String getApplicationId() {
		return _applicationId;
	}

	public void setApplicationId(String applicationId) {
		_applicationId = applicationId;
	}

	public String getUserId() {
		return _userId;
	}

	public void setUserId(String userId) {
		_userId = userId;
	}

	public String getPropertyType() {
		return _propertyType;
	}

	public void setPropertyType(String propertyType) {
		_propertyType = propertyType;
	}

	public String getBlockNo() {
		return _blockNo;
	}

	public void setBlockNo(String blockNo) {
		_blockNo = blockNo;
	}

	public String getPlotNo() {
		return _plotNo;
	}

	public void setPlotNo(String plotNo) {
		_plotNo = plotNo;
	}

	public Double getArea() {
		return _area;
	}

	public void setArea(Double area) {
		_area = area;
	}

	public String getUom() {
		return _uom;
	}

	public void setUom(String uom) {
		_uom = uom;
	}

	public String getLandLocation() {
		return _landLocation;
	}

	public void setLandLocation(String landLocation) {
		_landLocation = landLocation;
	}

	public String getCity() {
		return _city;
	}

	public void setCity(String city) {
		_city = city;
	}

	public String getState() {
		return _state;
	}

	public void setState(String state) {
		_state = state;
	}

	public String getCountry() {
		return _country;
	}

	public void setCountry(String country) {
		_country = country;
	}

	public Date getOrigCofODate() {
		return _origCofODate;
	}

	public void setOrigCofODate(Date origCofODate) {
		_origCofODate = origCofODate;
	}

	public String getOtherUsefulInformation() {
		return _otherUsefulInformation;
	}

	public void setOtherUsefulInformation(String otherUsefulInformation) {
		_otherUsefulInformation = otherUsefulInformation;
	}

	public String getAllocationMadToYou() {
		return _allocationMadToYou;
	}

	public void setAllocationMadToYou(String allocationMadToYou) {
		_allocationMadToYou = allocationMadToYou;
	}

	public String getAssignedToYou() {
		return _assignedToYou;
	}

	public void setAssignedToYou(String assignedToYou) {
		_assignedToYou = assignedToYou;
	}

	public String getLocationType() {
		return _locationType;
	}

	public void setLocationType(String locationType) {
		_locationType = locationType;
	}

	public String getLga() {
		return _lga;
	}

	public void setLga(String lga) {
		_lga = lga;
	}

	public String getTown() {
		return _town;
	}

	public void setTown(String town) {
		_town = town;
	}

	public String getVillage() {
		return _village;
	}

	public void setVillage(String village) {
		_village = village;
	}

	public String getTerm() {
		return _term;
	}

	public void setTerm(String term) {
		_term = term;
	}

	public String getEstDevCost() {
		return _estDevCost;
	}

	public void setEstDevCost(String estDevCost) {
		_estDevCost = estDevCost;
	}

	public Date getEstStartDate() {
		return _estStartDate;
	}

	public void setEstStartDate(Date estStartDate) {
		_estStartDate = estStartDate;
	}

	private String _applicationId;
	private String _userId;
	private String _propertyType;
	private String _blockNo;
	private String _plotNo;
	private Double _area;
	private String _uom;
	private String _landLocation;
	private String _city;
	private String _state;
	private String _country;
	private Date _origCofODate;
	private String _otherUsefulInformation;
	private String _allocationMadToYou;
	private String _assignedToYou;
	private String _locationType;
	private String _lga;
	private String _town;
	private String _village;
	private String _term;
	private String _estDevCost;
	private Date _estStartDate;
}